<?php 

$shujuku = include './shujuku.php';

if ($_POST) {
	$id = $_GET['id'];
	$date = $_POST;
	$date['liuyanTime']=time();
	$shujuku = include './shujuku.php';

	$shujuku[$id]=$date;

	$str = var_export($shujuku,ture);  //不懂

	$str = "<?php return ".$str." ?>";

	file_put_contents('./shujuku.php', $str);

	header("location:./index.php");

}else{
	$id = $_GET['id'];

	$content = $shujuku[$id];

	include './xiugai.html';
}



 ?>